﻿Imports System.ServiceModel
Imports System.ServiceModel.Activation
Imports System.ServiceModel.Web
Imports System.Threading


<ServiceContract(Namespace:="")> _
<AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)> _
Public Class TopCitiesService

    ' Add <WebGet()> attribute to use HTTP GET 
    <OperationContract()> _
    Public Function GetTopCities() As String
        ' Add your operation implementation here
        Thread.Sleep(3000)
        Return "Raleigh, NC"
    End Function

    ' Add more operations here and mark them with <OperationContract()>

End Class
